#ifndef PUPIL_H
#define PUPIL_H

#include <QString>

class Pupil
{
private:
    QString name;
    int subjectCount;

    int* balls;
    int* bonuses;
    int* places;

    int ratingBall;
    int ratingPlace;

public:
    Pupil(QString name, int subjectCount);
    virtual ~Pupil();

    QString& getName();

    int getBall(int ballIndex);
    void setBall(int ballIndex, int ball);

    int getBonus(int bonusIndex);
    void setBonus(int bonusIndex, int bonus);

    int getRatingBall();
    void setRatingBall(int ball);

    int getRatingPlace();
    void setRatingPlace(int place);

    int getSubjectPlace(int placeIndex);
    void setSubjectPlace(int placeIndex, int place);
};

#endif // PUPIL_H
